<?php
/**
 * @TABLE "content_category"
 * @JOIN_FROM "category_id < category.id"
 * @JOIN_FROM "content_id < content.id"
 */
class BaseContentCategory extends Abstract_PluginEntityManager_Entity
{
	/**
	 * @PRIMARY
	 * @COLUMN "id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @AUTO_INCREMENT
	 */
	public $id;

	/**
	 * @COLUMN "category_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 */
	public $category_id;

	/**
	 * @COLUMN "content_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 */
	public $content_id;

	/**
	 * @COLUMN "status"
	 * @TYPE "enum"
	 * @LENGTH "'visible','deleted','hidden'"
	 * @NOT_NULL
	 * @DEFAULT "visible"
	 */
	public $status;

	/**
	 * @COLUMN "date_added"
	 * @TYPE "timestamp"
	 * @NOT_NULL
	 * @DEFAULT "CURRENT_TIMESTAMP"
	 */
	public $date_added;

	/**
	 * @COLUMN "date_deleted"
	 * @TYPE "timestamp"
	 */
	public $date_deleted;

	/**
	 * @COLUMN "date_hidden"
	 * @TYPE "timestamp"
	 */
	public $date_hidden;
}
?>